package com.lwd.service.impl;

import com.lwd.entity.Admin;
import com.lwd.mapper.AdminMapper;
import com.lwd.service.AdminServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServcieImpl implements AdminServcie {

    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin doLogin(Admin admin) {
        Admin Admin=adminMapper.selectExistAdmin(admin);
        return Admin;
    }
}
